package com.atmilan.quartz.model.entity.folli;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@JsonIgnoreProperties(ignoreUnknown = true)
public class FolliProduct extends Model<FolliProduct> {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "id", type = IdType.INPUT)
    private Integer id;

    /**
     * 商品id
     */
    private String sku;

    /**
     * 商品名称
     */
    private String name;

    /**
     * 商品描述
     */
    private String description;

    /**
     * 颜色
     */
    private String color;

    /**
     * designer_id
     */
    private String designerId;

    /**
     * 季节
     */
    private String season;

    /**
     * 一级分类
     */
    private String firstCategory;

    /**
     * 二级分类
     */
    private String category;

    /**
     * 性别
     */
    private String gender;

    private String madeIn;

    /**
     * 成分
     */
    private String composition;

    private String dimensions;

    /**
     * 品牌
     */
    private String brand;

    /**
     * 原价
     */
    private String price;

    /**
     * 成本价
     */
    private String discount;

    private String sizeUnit;

    private String sizeCountry;

    /**
     * 图片
     */
    private String images;

    /**
     * 最后拉取时间
     */
    private Date lastPushTime;

    @Override
    protected Serializable pkVal() {
        return this.id;
    }
}